package com.wicket.okrcomponent.biz.service.dto.common;

import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc DataEinzelbandFiltersColumnTurnRowDto
 * @使用场景
 */
@Data
public class DataEinzelbandFiltersColumnTurnRowDto
  extends BaseDto
  implements Serializable {

  /**
   * 通用主键ID
   */
  @NotNull(message = "通用主键ID不能为空")
  @ApiModelProperty("通用主键ID")
  private String commPrimaryKey;

  /**
   * 自定义字段
   */
  @ApiModelProperty("自定义字段")
  private String customField;

  /**
   * 自定义字段1
   */
  @ApiModelProperty("自定义字段1")
  private String customField1;

  /**
   * 自定义字段2
   */
  @ApiModelProperty("自定义字段2")
  private String customField2;

  /**
   * 自定义字段3
   */
  @ApiModelProperty("自定义字段3")
  private String customField3;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      DataEinzelbandFiltersColumnTurnRowDto that = (DataEinzelbandFiltersColumnTurnRowDto) o;
      return  commPrimaryKey == that.commPrimaryKey&&customField == that.customField&&customField1 == that.customField1&&customField2 == that.customField2&&customField3 == that.customField3;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), commPrimaryKey,customField,customField1,customField2,customField3);
    }

}
